//
//  CollectionCell.h
//  MyBlog
//
//  Created by NCS on 16/12/9.
//  Copyright © 2016年 YSL. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "UIImageView+WebCache.h"

@interface YSLIndexedCollectionView : UICollectionView

@property (nonatomic, strong) NSIndexPath *indexPath;
@property (nonatomic, strong) NSArray *data;

@end

@interface CollectionCell : UICollectionViewCell
@property (weak, nonatomic) IBOutlet UIImageView *collectionImage;
@property (nonatomic, strong) NSIndexPath *indexPath;

- (void)setCellImageWithName:(NSString *)imageName;
- (void)setCellImageWithURL:(NSURL *)url;

@end
